import { getEditorProps, getGridEditorCommonProps } from './common';

/**
 * 获取步进器的props
 *
 * @export
 * @template C
 * @return {*} 
 */
export function getStepperProps<C>() {
  return { ...getEditorProps<C>(), value: [String, Number] };
}

/**
 * 获取表格步进器的props
 *
 * @export
 * @template C
 * @return {*} 
 */
export function getGridStepperProps<C>() {
  return { ...getStepperProps<C>(), ...getGridEditorCommonProps() };
}
